package com.lfy.modules.letter.domain.event;

import com.lfy.modules.letter.domain.SiteLetterEntity;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 站内通知事件
 */
@Getter
public class LetterEvent extends ApplicationEvent {
    private final SiteLetterEntity siteLetterEntity;

    public LetterEvent(Object source, SiteLetterEntity siteLetterEntity) {
        super(source);
        this.siteLetterEntity = siteLetterEntity;
    }
}
